package com.cskaoyan.service;

import com.cskaoyan.bean.CskaoyanmallCoupon;
import com.cskaoyan.bean.CskaoyanmallCouponUser;
import com.cskaoyan.bean.bo.ExtensionCouponCreatBo;
import com.cskaoyan.bean.vo.CouponUserVo;
import com.cskaoyan.bean.vo.CouponVo;
import com.cskaoyan.bean.vo.WXCouponListVo;
import com.cskaoyan.bean.vo.WxCouponMyListVo;

import java.util.List;

public interface ExtensionCouponService {
    CskaoyanmallCoupon addCoupon(ExtensionCouponCreatBo coupon);

    CouponVo vagueQueryCoupons(Integer page, Integer limit, String sort, String order, String name, Short type, Short status);

    CskaoyanmallCoupon updateCoupon(CskaoyanmallCoupon couponUpdateBo);

    Integer delCoupon(CskaoyanmallCoupon couponBo);

    CskaoyanmallCoupon queryCouponById(Integer id);

    CouponUserVo queryUserByCouponId(Integer page, Integer limit, Integer couponId, String sort, String order, Integer userId, Integer status);

//    WxCouponMyListVo wxListCoupon(Integer status, Integer page, Integer size, Integer userId);
}
